package com.driver.system.feign;

import com.driver.system.controller.form.SearchDriverBriefInfoForm;
import com.driver.system.controller.form.SearchDriverByPageForm;
import com.driver.system.controller.form.SearchDriverRealSummaryForm;
import com.driver.system.controller.form.UpdateDriverRealAuthForm;
import com.driver.system.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "driver")
public interface DrServiceApi {

    @PostMapping("/driver/searchDriverByPage")
    R searchDriverByPage(SearchDriverByPageForm form);

    @PostMapping("/driver/searchDriverRealSummary")
    R searchDriverRealSummary(SearchDriverRealSummaryForm form);

    @PostMapping("/driver/updateDriverRealAuth")
    R updateDriverRealAuth(UpdateDriverRealAuthForm form);

    @PostMapping("/driver/searchDriverBriefInfo")
    R searchDriverBriefInfo(SearchDriverBriefInfoForm form);
    
}
